package com.idefav;

import com.idefav.springdemo1.Helloworld;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        ClassPathXmlApplicationContext context=new ClassPathXmlApplicationContext("spring-demo1.xml");
        Helloworld helloWorld = (Helloworld) context.getBean("helloworld");
        helloWorld.run();
    }
}
